<template>
   <div class="home">
      {{myTest}}
      <button @click="handleClick">点击</button>
   </div>
</template>

<script lang="ts">
   import {Component, Vue} from 'vue-property-decorator'

   @Component({
      components: {}
   })
   export default class Home extends Vue {
      //data
      myTest: string = 'my test'

      //methods
      handleClick() {
         console.log('click')
      }
   }
</script>
